package com.campus.marketplace.repository;

import com.campus.marketplace.entity.Product;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface ProductRepository extends JpaRepository<Product, Long> {
    List<Product> findBySellerId(Long sellerId);

    List<Product> findByStatus(String status);

    List<Product> findByTitleContaining(String keyword);
}